﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MonoTouch.SQLite;

namespace bjeschool_csharp.Model
{
	public class M_Message
    {
        [PrimaryKey, AutoIncrement]
        public int ID { get; set; }
        public int LeaveUserID { get; set; }//留言人
        public string LeaveUser { get; set; }
        public MessageSource Type { get; set; }//类型：学生留言/家长留言/课程通知/系统通知
        public DateTime CreateTime { get; set; }//留言时间
        public string Content { get; set; }//内容
        public string Response { get; set; }//回复等
    }

    public enum MessageSource
    {
        M_Sys,M_Student,M_Parent,M_Course
    }
}
